#pragma once
#include "YButton.h"
#include "WinMsg.h"

class ButtonWin32: public YButton, public WinBase
{
public:
	ButtonWin32();
	virtual ~ButtonWin32();
public:
	void AddOnActionCallback(Notify::NotifyCallback onButtonAction);
	virtual void Create(UIHAND parent);
	virtual void Destroy();
	virtual void SetText(String text);

	virtual UIHAND GetUIHand();
	virtual void SetUIHand(UIHAND uiHand) ;
	virtual void SetParent(UIHAND parent) ;
	virtual void AddChild(GuiObject& child);
private:
	String text;
};
